ExamPlay Light Logo
Log ind

Computer Science for IGCSE & O level - Programming (Section 8 - No. 22)

In Python, what will be the output of `print(15 % 4)`?
1
2
3
3.75

Forklaring

The modulo operator (%) returns the remainder of the division. 15 divided by 4 is 3 with a remainder of 3.

Kommentarer (0)

Log ind for at kommentere
Reklame
BrainBehindX Inc Logo
©2026; Drevet af BrainBehindX Inc